package cn.wolfcode.wolf.user.redis.key;

import cn.wolfcode.wolf.redis.key.BaseKeyPrefix;

import java.util.concurrent.TimeUnit;

public class UserRedisKeyPrefix extends BaseKeyPrefix {
    public static final UserRedisKeyPrefix USERS_REGISTER_VERIFY_CODE_STRING = new UserRedisKeyPrefix("USERS:REGISTER:VERIFY_CODE:", 30L, TimeUnit.MINUTES);
    public static final UserRedisKeyPrefix USERS_LOGIN_INFO_STRING = new UserRedisKeyPrefix("USERS:LOGIN:INFO:");
    public UserRedisKeyPrefix(String prefix) {
        super(prefix);
    }

    public UserRedisKeyPrefix(String prefix, Long timeout, TimeUnit timeUnit) {
        super(prefix, timeout, timeUnit);
    }
}
